package com.zys.exercise;

import java.io.IOException;

public class text1 {
    public static void main(String[] args) throws IOException {
        Runtime r1 = Runtime.getRuntime();
        System.out.println(r1.availableProcessors());
        System.out.println(r1.maxMemory()/1024/1024);
        r1.exec("shutdown -a");
    }
}
